import request from "./request"

//轮播分类数据
export function getDjRadioCatelist () {
    return request({
        url: "/dj/catelist"
    })
}

//优秀电台数据
export function getDjRadioRecommend (type) {
    return request({
        url: "/dj/recommend/type",
        params: {
            type
        }
    })
}

//电台排行榜数据
export function getDjRadios (cateId, limit, offset) {
    return request({
        url: "/dj/radio/hot",
        params: {
            cateId,
            limit,
            offset
        }
    })
}